import imageProcessor
reload(imageProcessor)

from imageProcessor import ImageProcessor

def run():
    file = "../pics/pic5.png"
    dirs = ["../pics"]
    box = (0, 0, 200, 200)
    columns = 40
    rows = 40
    basicUnitAsPrecentage = 50
    maximumDifference = 80
       
    imageProcessor = ImageProcessor(file)
    newImage = imageProcessor.run(dirs, box, columns, rows, basicUnitAsPrecentage, \
                     maximumDifference)

    newImage.show()    

    
if __name__ == "__main__":
    run()


